package cn.iocoder.yudao.module.platform.controller.center.plug.vo.order;

import lombok.*;

import java.math.BigDecimal;
import java.util.*;
import io.swagger.annotations.*;
import org.springframework.format.annotation.DateTimeFormat;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel(value = "管理后台 - 订单 Excel 导出 Request VO", description = "参数和 PlugOrderPageReqVO 是一致的")
@Data
public class PlugOrderExportReqVO {

    @ApiModelProperty(value = "订单编号")
    private String orderNo;

    @ApiModelProperty(value = "应付金额（实际支付金额）")
    private BigDecimal[] payAmount;

    @ApiModelProperty(value = "订单类型：0->正常订单；1->赠送订单")
    private Integer orderType;

    @ApiModelProperty(value = "订单状态 未付款,已付款,已安装")
    private Integer orderStatus;

    @ApiModelProperty(value = "订单失效时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] expireTime;

    @ApiModelProperty(value = "订单支付成功时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] successTime;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private Date[] createTime;

}
